pp108 : setDialogSize() Method

setDialogSize() Method


This method enables you to set the width and height of a UFO dialog box after it is opened.

Syntax


application.setDialogSize(dialogWidth, dialogHeight);

Parameters

Parameter

Description

dialogWidth

Required. Denotes the width of the dialog box.

dialogHeight

Required. Denotes the height of the dialog box.


Return Value


It does not return any value.

Remarks


Use this method for applications that open as aUFOdialog box, which is invoked usingapplication.showDialog().

Example

application.setDialogSize(350, 450);

See Also


showDialog()